package com.feilx.changggou.order.service.impl;

import com.changgou.bean.PageVo;
import com.changgou.bean.Query;
import com.changgou.bean.QueryCondition;
import com.changgou.pojo.order.TbOrderConfigEntity;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import com.feilx.changggou.order.dao.TbOrderConfigDao;
import com.feilx.changggou.order.service.TbOrderConfigService;


@Service("tbOrderConfigService")
public class TbOrderConfigServiceImpl extends ServiceImpl<TbOrderConfigDao, TbOrderConfigEntity> implements TbOrderConfigService {

    @Override
    public PageVo queryPage(QueryCondition params) {
        IPage<TbOrderConfigEntity> page = this.page(
                new Query<TbOrderConfigEntity>().getPage(params),
                new QueryWrapper<TbOrderConfigEntity>()
        );

        return new PageVo(page);
    }

}
